package vip.kqsy.cloud.blog.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import vip.kqsy.cloud.blog.server.pojo.dto.CommentAddDTO;
import vip.kqsy.cloud.blog.server.pojo.dto.ListCommentDTO;
import vip.kqsy.cloud.blog.server.pojo.entity.BlogComment;
import vip.kqsy.cloud.blog.server.pojo.vo.ListCommentVO;
import vip.kqsy.cloud.core.web.res.ResPage;

/**
 * <p>
 * 博客评论 服务类
 * </p>
 *
 * @author cenjunjie
 * @since 2023-05-03
 */
public interface BlogCommentService extends IService<BlogComment> {

    void add(CommentAddDTO dto);

    ResPage<ListCommentVO> list(ListCommentDTO dto);

}
